package com.ray.activiti.service;

import com.ray.activiti.table.entity.ExtendActFlowbus;

/**
 * 业务流程关系表与activitiBaseEntity中字段一样
 * 
 * @Auther ray  qray686898@163.com
 * @Date 2017/12/28
 * @代码参考或来自  https://github.com/huangxianyuan/hxyFrame
 */
public interface ExtendActFlowbusService {
	
	ExtendActFlowbus queryObject(String id);
	
	void save(ExtendActFlowbus extendActFlowbus);
	
	void update(ExtendActFlowbus extendActFlowbus);
	
	void delete(String id);

	/**
	 * 根据业务id更新
	 * @param extendActFlowbusEntity
	 * @return
	 */
	int updateByBusId(ExtendActFlowbus extendActFlowbusEntity);

	/**
	 * 根据业务id和流程实例id查询
	 * @param instanceId 流程实例id
	 * @param busId 业务id
	 * @return
	 */
	ExtendActFlowbus queryByBusIdInsId(String instanceId,String busId);
	

}
